package com.medisched.medisched.domain;

import java.util.Date;

/**
 * 科室对象 department
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class Department
{

    /** 主键 */
    private Long id;

    /** 科室名称 */
    private String departmentName;

    /** 描述信息 */
    private String description;

    private Date createTime;


    public Department() {
    }

    public Department(Long id, String departmentName, String description) {
        this.id = id;
        this.departmentName = departmentName;
        this.description = description;
    }

    public Department(Long id, String departmentName, String description, Date createTime) {
        this.id = id;
        this.departmentName = departmentName;
        this.description = description;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return departmentName
     */
    public String getDepartmentName() {
        return departmentName;
    }

    /**
     * 设置
     * @param departmentName
     */
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    public String toString() {
        return "Department{id = " + id + ", departmentName = " + departmentName + ", description = " + description + "}";
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
